package day7;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Arr3 {
    public static void main(String[] args) {
        int p[]=new int[8];
        Scanner in=new Scanner(System.in);
        System.out.println("请输入"+p.length+"个值：");
        for (int i = 0; i < p.length; i++) {
            p[i]=in.nextInt();
        }
        System.out.println("您刚才输入的数组的值如下：");
        for (int i = 0; i < p.length; i++) {
            System.out.print(p[i]+" ");
        }


//        p[0]=in.nextInt();
//        p[1]=in.nextInt();
//        p[2]=in.nextInt();
    }
}
